-
Couldn't load subscription status.
- Fork 209
Improve DUX for create-guest-authors command
#377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
…nstead of concatenating and echoing strings.
…-emails Send moderation email even if guest author has no email address
Better formatting for metabox_manage_guest_author_bio()
Update CLI to use cached functions
Not really being used in other tests
We can use these to verify that our author query mods work
And add an additional test for post_author + tax query
Known issue in CAP
We need to check for both INNER and LEFT JOINs to avoid adding a dupe query which leads to query errors in 4.6+. See Automattic#374
The biggest part of this change is to add a progress bar for `wp co-authors-plus create-guest-authors`. When doing a mass conversion, it's nice to be able to get a sense of "I should go eat lunch now, this is going to take a while" or "I shouldn't bother switching from Red to 1989, this will be done so quickly I may as well have Red play a third time in a row" or anything in between. This uses `WP_CLI\Utils\make_progress_bar` to create a progress bar. Additionally, it adds the count of how many accounts will be attempted at the start in order to further improve the Developer User experience See http://wp-cli.org/docs/internal-api/wp-cli-utils-make-progress-bar/
|
Neat! Can you share a screenshot of what it looks like? |
|
Only the last commit is relevant here. Looks like a progress bar had been added in the meantime. The only thing not added was:
I like that, so I'm leaving this PR open on a milestone as a reminder to add that in. |



The biggest part of this change is to add a progress bar for
wp co-authors-plus create-guest-authors.When doing a mass conversion, it's nice to be able to get a sense of "I should go eat lunch now, this is going to take a while" or "I shouldn't bother switching from Red to 1989, this will be done so quickly I may as well have Red play a third time in a row" or anything in between. This uses
WP_CLI\Utils\make_progress_barto create a progress bar.Additionally, it adds the count of how many accounts will be attempted at the start in order to further improve the Developer User experience
See http://wp-cli.org/docs/internal-api/wp-cli-utils-make-progress-bar/